package bridge.shape.impl;

import bridge.color.Color;
import bridge.shape.Shape;

/**
 * 扩展抽象：圆形
 * @author Liu Yicong
 * @date 2025/9/23
 */
public class Circle extends Shape {
	public Circle(Color color) {
		super(color);
	}

	@Override
	public void draw() {
		System.out.print("绘制圆形，并");
		color.applyColor(); // 委托给实现者
		System.out.println(".");
	}

}
